package com.neuedu.javase.flow;

public class Break_Sample3 {
    public static void main(String[] args) {
        label1: for (int i = 0; i < 10; i++) {
            for (int j = 0; j < 10; j++) {
                System.out.print("i="+i+"  j="+j+"  ");
                if (j == 5) {
                    break label1;
                }
            }
            System.out.println();
        }
    }
}